package com.example.demo.param.vo;

import com.example.demo.entity.Question;
import com.example.demo.entity.QuestionCategory;
import com.example.demo.util.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 模糊查询问题出参模型
 */
@ApiModel("问题详情")
public class QuestionVO {
    @ApiModelProperty(value = "问题")
    private Question question;

    @ApiModelProperty(value = "问题分类")
    private QuestionCategory category;

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public QuestionCategory getCategory() {
        return category;
    }

    public void setCategory(QuestionCategory category) {
        this.category = category;
    }
}
